
.tab-content {
  position: relative;
  overflow: hidden;
}
.tab-content.is-animating {
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  width: auto;
}

.content-pane {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%) translateY(-50%);
}
.content-pane.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0%);
}
.content-pane.is-exiting {
  opacity: 0;
  transform: translateX(-100%);
}
.content-pane.is-animating {
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.nav-tabs li.active a {
  background: #f8f8f8 !important;
  border-bottom-color: transparent !important;
}

.nav-tabs li:not(.active) {
    border-bottom: 1px solid transparent;
}

.tab-content {
  margin-top: -1px;
  border: 1px solid #f8f8f8;
  border-top: none;
  padding: 50px 20px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background: #f8f8f8a6;
}
.tab-content img {
    width: 100%;
}
.nav-tabs.nav-justified>.active>a, .nav-tabs.nav-justified>.active>a:hover, .nav-tabs.nav-justified>.active>a:focus {
    border-top: none;
    background: none !important;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #ea1f1f !important;
    color: #e70000;
}
.nav-tabs li.active a {
    background: #f8f8f8 !important;
    border-bottom-color: #f8f8f8 !important;
}


.nav-tabs.nav-justified>li>a {
    border-bottom: 1px solid #f8f8f8;
    border-radius: 4px 4px 0 0;
}
.nav-tabs.nav-justified>li>a:hover {
    background: #fff0;
    border-bottom: 2px solid #e70000;
    border-top: none;
    border-right: none;
    border-left: none;
}
.nav-tabs.nav-justified>li {
    display: table-cell;
    width: 35%;
}